package com.atguigu.eduservice.entity.chapter;

import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@ApiModel(value = "章节信息")
@Data
public class ChapterVo {

    /**
     * 章节下有多个小节,（一对多的关系）
     */
    private String id;
    private String title;

    private List<VideoVo> children = new ArrayList<>();

}
